import logging
def log_conn():
    logging.basicConfig(filename="./log/dianyinglog.txt",level=logging.DEBUG,format="%(asctime)s - %(levelname)s - %(message)s - %(lineno)d")